function templateTracking = addTemplate(main)

       templateTracking = main.addprop('template');    % Creates template as stageOne property;
       main.template = newTemplate(main);  % Inherits template properties;

       %Filter track allows the property to be deleted in the future. Is later
    %saved in templateTracking property
end